/**
 * 
 */
package com.teamall.web.sjtj.service;

import java.util.List;

import com.teamall.core.common.Page;
import com.teamall.framework.exception.BaseAppException;
import com.teamall.web.sjtj.db.po.CodeVisitedAidRankPO;

/**
 * <Description> <br>
 * 
 * @author codeCreater<br>
 * @version 1.0<br>
 * @taskId <br>
 * @CreateDate 2014年11月11日 <br>
 * @since V1.0<br>
 * @see com.teamall.web.sjtj.service <br>
 */

public interface ICodeVisitedAidRankService {

    CodeVisitedAidRankPO selectByPrimaryKey(String key) throws BaseAppException;

    List<CodeVisitedAidRankPO> selectByArg(CodeVisitedAidRankPO record) throws BaseAppException;

    Page<CodeVisitedAidRankPO> selectByArgAndPage(CodeVisitedAidRankPO record, Page<CodeVisitedAidRankPO> resultPage)
            throws BaseAppException;

    int add(CodeVisitedAidRankPO record) throws BaseAppException;

    int update(CodeVisitedAidRankPO record) throws BaseAppException;

    int delete(CodeVisitedAidRankPO record) throws BaseAppException;

}
